<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div class="btn-toolbar" style="float:right;margin-right:30px;">
	<div class="btn-group">
			<c:choose>
				<c:when test="${page.pageNum==1 }">
					<a href="#" class="btn active">首页</a>
				</c:when>
				<c:otherwise>
					<a href="${param.jspx }?p=1&id=${param.filetypeid }" class="btn">首页</a>
				</c:otherwise>
			</c:choose>
			<c:choose>
				<c:when test="${page.pageNum==1 }">
					<a href="#" class="btn active">上一页</a>
				</c:when>
				<c:otherwise>
					<a href="${param.jspx }?p=${page.pageNum-1}&id=${param.filetypeid }" class="btn">上一页</a>
				</c:otherwise>
			</c:choose>
			<c:choose>
				<c:when test="${page.pageNum ==page.totalPages }">
					<a href="#" class="btn active">下一页</a>
				</c:when>
				<c:otherwise>
					<a href="${param.jspx }?p=${page.pageNum+1 }&id=${param.filetypeid }" class="btn">下一页</a>
				</c:otherwise>
			</c:choose>
			
			<c:choose>
				<c:when test="${page.pageNum ==page.totalPages }">
					<a href="#" class="btn active">尾页</a>
				</c:when>
				<c:otherwise>
					<a href="${param.jspx }?p=${page.totalPages }&id=${param.filetypeid }" class="btn">尾页</a>
				</c:otherwise>
			</c:choose>
	</div>
</div>
	<div style="float:right;margin-right:30px;margin-top:15px;font-size:16px;">
			当前位于第-<span class="label label-info">${page.pageNum}</span>-页&nbsp;&nbsp;|&nbsp;&nbsp;共-<span class="label label-info">${page.totalPages}</span>-页
	</div>
		